﻿using UnityEngine;

namespace GFTest
{
    public static partial class Constant
    {
        /// <summary>
        /// 层。
        /// </summary>
        [XLua.LuaCallCSharp]
        public static class Layer
        {
            public const string DefaultLayerName = "Default";
            public static readonly int DefaultLayerId = LayerMask.NameToLayer(DefaultLayerName);

            public const string UILayerName = "UI";
            public static readonly int UILayerId = LayerMask.NameToLayer(UILayerName);

            public const string StaticColliderLayerName = "Static Collider";
            public static readonly int StaticColliderLayerId = LayerMask.NameToLayer(StaticColliderLayerName);

            public const string ObjectColliderLayerName = "Object Collider";
            public static readonly int ObjectColliderLayerId = LayerMask.NameToLayer(ObjectColliderLayerName);

            public const string TargetableObjectLayerName = "Targetable Object";
            public static readonly int TargetableObjectLayerId = LayerMask.NameToLayer(TargetableObjectLayerName);

            public const string WaterColliderLayerName = "Water";
            public static readonly int WaterColliderLayerId = LayerMask.NameToLayer(WaterColliderLayerName);

            public const string StaticSecondColliderLayerName = "Second Static Collider";
            public static readonly int StaticSecondColliderLayerId = LayerMask.NameToLayer(StaticSecondColliderLayerName);

        }
    }
}
